<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>错误页 - 生产管理信息系统</title>
    <link rel="stylesheet" href="${pageContext.request.contextPath}/css/backend.css">
    <style>
        .wrapper {
            background: url(${pageContext.request.contextPath}/image/bg.png) fixed;
            background-size: cover;
        }
    </style>
<body>
<div class="wrapper">
    <div class="container">
        <div class="row no-gutters height-self-center">
            <div class="col-sm-12 text-center align-self-center">
                <div class="iq-error position-relative">
                    <img src="${pageContext.request.contextPath}/image/error/err.png"
                         class="img-fluid iq-error-img" alt="">
                    <h2 class="mb-0 mt-4">
                        <%
                            String msg = (String) request.getAttribute("error");
                            if (msg == null) {
                                msg = "请求出现错误！";
                            }
                            out.write(msg);
                        %>
                    </h2>
                    <a
                            class="btn btn-primary d-inline-flex align-items-center mt-3"
                            href="javascript:history.go(-1)">
                        <i class="ri-home-4-line"></i>
                        返回</a>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
